package com.lei.statistics.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by IntelliJ
 * Author:熊磊
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //获取某一天的注册人数
    @GetMapping("/edu/member/countRegister/{day}")
    Integer countRegister(@PathVariable("day")String day);
}
